'Declaration
Public Overloads Overridable Sub UpdateFrom( _ ByVal source As IEnumerable(Of T) _ )
public virtual void UpdateFrom( IEnumerable<T> source )
Parameters
- source
- The source to update from
'Declaration
Public Overloads Overridable Sub UpdateFrom( _ ByVal source As IEnumerable(Of T) _ )
public virtual void UpdateFrom( IEnumerable<T> source )
This method behaves differently from AddRange (which only adds to an existing collection). It makes the contents of the target collection match the contents of the source collection by adding and removing objects as necessary.